<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改班组生产数据')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-team-edit" th:object="${productAnalysisTeam}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">所属班组：</label>
                <div class="col-sm-8">
                    <input name="team" th:field="*{team}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">设备总数：</label>
                <div class="col-sm-8">
                    <input name="deviceTotal" th:field="*{deviceTotal}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">开机设备数：</label>
                <div class="col-sm-8">
                    <input name="devicePower" th:field="*{devicePower}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">实焊设备数：</label>
                <div class="col-sm-8">
                    <input name="deviceWork" th:field="*{deviceWork}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">设备利用率：</label>
                <div class="col-sm-8">
                    <input name="deviceRate" th:field="*{deviceRate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊接数量：</label>
                <div class="col-sm-8">
                    <input name="weldingNum" th:field="*{weldingNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">加工时间：</label>
                <div class="col-sm-8">
                    <input name="workTimeTotal" th:field="*{workTimeTotal}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">开机时间：</label>
                <div class="col-sm-8">
                    <input name="workTimeStart" th:field="*{workTimeStart}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工作效率：</label>
                <div class="col-sm-8">
                    <input name="workRate" th:field="*{workRate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">焊丝消耗(KG)：</label>
                <div class="col-sm-8">
                    <input name="weldingUse" th:field="*{weldingUse}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电能消耗(KWH)：</label>
                <div class="col-sm-8">
                    <input name="electUse" th:field="*{electUse}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">气体消耗(L)：</label>
                <div class="col-sm-8">
                    <input name="gasUse" th:field="*{gasUse}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">日期：</label>
                <div class="col-sm-8">
                    <input name="workDate" th:field="*{workDate}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "analysis/team";
        $("#form-team-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-team-edit').serialize());
            }
        }
    </script>
</body>
</html>